package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the TT_PAGO database table.
 * 
 */
@Entity
@Table(name="TT_PAGO")
public class TtPago implements Serializable {
	private static final long serialVersionUID = 1L;
	private TtPagoPK id;
	private String aaTitu;
	private String coFrPago;
	private String coOficRgst;
	private String coRegi;
	private String coTipoPago;
	private String deFrPago;
	private String deTipoPago;
	private Date fePago;
	private String inServ;
	private BigDecimal moServ;
	private String nuOper;
	private String nuTitu;

    public TtPago() {
    }


	@EmbeddedId
	public TtPagoPK getId() {
		return this.id;
	}

	public void setId(TtPagoPK id) {
		this.id = id;
	}
	

	@Column(name="AA_TITU", length=4)
	public String getAaTitu() {
		return this.aaTitu;
	}

	public void setAaTitu(String aaTitu) {
		this.aaTitu = aaTitu;
	}


	@Column(name="CO_FR_PAGO", nullable=false, length=2)
	public String getCoFrPago() {
		return this.coFrPago;
	}

	public void setCoFrPago(String coFrPago) {
		this.coFrPago = coFrPago;
	}


	@Column(name="CO_OFIC_RGST", length=2)
	public String getCoOficRgst() {
		return this.coOficRgst;
	}

	public void setCoOficRgst(String coOficRgst) {
		this.coOficRgst = coOficRgst;
	}


	@Column(name="CO_REGI", length=2)
	public String getCoRegi() {
		return this.coRegi;
	}

	public void setCoRegi(String coRegi) {
		this.coRegi = coRegi;
	}


	@Column(name="CO_TIPO_PAGO", nullable=false, length=2)
	public String getCoTipoPago() {
		return this.coTipoPago;
	}

	public void setCoTipoPago(String coTipoPago) {
		this.coTipoPago = coTipoPago;
	}


	@Column(name="DE_FR_PAGO", length=50)
	public String getDeFrPago() {
		return this.deFrPago;
	}

	public void setDeFrPago(String deFrPago) {
		this.deFrPago = deFrPago;
	}


	@Column(name="DE_TIPO_PAGO", length=50)
	public String getDeTipoPago() {
		return this.deTipoPago;
	}

	public void setDeTipoPago(String deTipoPago) {
		this.deTipoPago = deTipoPago;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FE_PAGO", nullable=false)
	public Date getFePago() {
		return this.fePago;
	}

	public void setFePago(Date fePago) {
		this.fePago = fePago;
	}


	@Column(name="IN_SERV", length=2)
	public String getInServ() {
		return this.inServ;
	}

	public void setInServ(String inServ) {
		this.inServ = inServ;
	}


	@Column(name="MO_SERV", nullable=false, precision=12, scale=2)
	public BigDecimal getMoServ() {
		return this.moServ;
	}

	public void setMoServ(BigDecimal moServ) {
		this.moServ = moServ;
	}


	@Column(name="NU_OPER", length=20)
	public String getNuOper() {
		return this.nuOper;
	}

	public void setNuOper(String nuOper) {
		this.nuOper = nuOper;
	}


	@Column(name="NU_TITU", length=8)
	public String getNuTitu() {
		return this.nuTitu;
	}

	public void setNuTitu(String nuTitu) {
		this.nuTitu = nuTitu;
	}

}